package com.wlanauth.service.manage.impl;

import com.wlanauth.core.exception.ServiceException;
import com.wlanauth.dao.manage.RoleDao;
import com.wlanauth.domain.manage.Role;
import com.wlanauth.service.common.impl.CommonServiceImpl;
import com.wlanauth.service.manage.RoleService;

public class RoleServiceImpl extends CommonServiceImpl<Role> implements
		RoleService {

	public Role getByCode(String code) throws ServiceException {
		return ((RoleDao)this.getDao()).getByCode(code);
	}

}
